package com.jshcbd.modules.asset.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author zhoucd
 * @date
 * @description
 */
@Data
@ApiModel("资产续期")
public class RenewDto {
    @ApiModelProperty(value = "归还期限",required=true)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @NotNull
    private Date dueDate;


    @ApiModelProperty(value = "资产id",required=true)
    @NotNull
    private String[]  assetIds;

    @ApiModelProperty(value = "联系人",required=true)
    @NotNull
    private String operator;
    @ApiModelProperty(value = "联系电话",required=true)
    @NotNull
    private String  phone;

}
